package cate.common.table.activity.mooncake.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.mooncake.row.MooncakeBossRow;
import cate.common.table.farm.forbidden.row.ForbiddenCombatRow;

public class MooncakeBossSheet extends ESheet<MooncakeBossRow> {
    @Override
    public String getSheetName() {
        return "中秋活动关卡";
    }

    public MooncakeBossRow find(int roomId, int combatNum) {
        for (MooncakeBossRow row : this.getList()) {
            if (row.type == roomId && row.level == combatNum) {
                return row;
            }
        }
        return null;
    }
}
